﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bird.OAWeb.Domain.Table
{
    /// <summary>
    /// 权限表
    /// </summary>
    [Table("Permissions")]
    public  class Permissions
    {
        /// <summary>
        /// 权限表主键
        /// </summary>
        [Key]
        public int PermissionsId { get; set; }
        /// <summary>
        /// 权限名
        /// </summary>
        [StringLength(50)]
        public string  Title { get; set; }
        /// <summary>
        /// 权限功能路径
        /// </summary>
        [StringLength(100)]
        public string  Action { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdatedTime { get; set; }
    }
}
